package com.dcy.znoa.service.publiz;

import com.dcy.znoa.common.exception.BusinessException;
import com.dcy.znoa.common.util.pojo.JsonCommon;
import com.dcy.znoa.common.util.pojo.JsonForList;
import com.dcy.znoa.controller.publiz.model.canteenMenu.SelectCanteenMenuModel;
import com.dcy.znoa.controller.publiz.model.canteenMenu.SelectCanteenMenuOneDayModel;
import com.dcy.znoa.domain.publiz.CanteenMenu;

public interface CanteenMenuService {

    Integer insert(CanteenMenu var1);

    Integer updateById(CanteenMenu var1);//修改和逻辑删除都用这个方法实现


    Integer deleteById(Long id) throws BusinessException;

    JsonForList selectList(SelectCanteenMenuModel model);

    JsonCommon selectOneDay(SelectCanteenMenuOneDayModel model);
}
